<template>
  <div class="box"></div>
  <div class="box2">
    <div class="b1">123</div>
  </div>
  <Row>
    <Button type="default" @click="add">操作</Button>
    <Button type="default" @click="add2">操作2</Button>
  </Row>
  <Row>
    <newFunBox ref="c-newFunBox"></newFunBox>
    <n1></n1>
  </Row>
</template>

<script>
import n2 from '@/pages/daydayup/251105_1.vue'
import n1 from '@/pages/daydayup/251105_1.vue'
import newFunBox from './251105_1.vue'
import t1 from './251014.slot.vue'
export default {
  components: {
    newFunBox,
    t1,
    n1
  },
  data() {
    return {}
  },
  methods: {
    add2() {
      let c = this.$refs['c-newFunBox']
      c.show({
        type: 1
      })
    },
    add() {
      console.log(`helloworld`)
    }
  }
}
</script>

<style lang="scss" scoped>
.box {
  width: 100px;
  height: 100px;
  border: 1px solid #000;
}
.box2 {
  width: 100px;
  height: 100px;
  border: 1px solid #000;
  .b1 {
    color: green;
  }
}
</style>
